﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Jizsoft.JFrame.Modeling.Domain.Entities
{
    public class FieldType
    {
        public Guid Id { get; set; }
        public Guid CategoryId { get; set; }
        /// <summary>
        /// code是唯一标识
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Caption { get; set; }
        public Guid DataType { get; set; }
        public int? MinLength { get; set; }
        public int? MaxLength { get; set; }
        public string ValidationRegex { get; set; }
        public string Description { get; set; }
        public bool IsPrivate { get; set; }
    }
}
